org.eclipse.vtp.desktop.editors.core.elements
Class DialogElement

java.lang.Object
  extended by org.eclipse.vtp.desktop.model.core.Component
      extended by org.eclipse.vtp.desktop.model.core.Element
          extended by org.eclipse.vtp.desktop.editors.core.elements.DialogElement
All Implemented Interfaces:
ModelListener

public class DialogElement
extends Element
implements ModelListener


Field Summary
 
Fields inherited from class org.eclipse.vtp.desktop.model.core.Element
PROP_NAME
 
Constructor Summary
DialogElement(java.lang.String name)
           
DialogElement(java.lang.String id, java.lang.String name)
           
 
Method Summary
 boolean acceptConnector(Element origin)
           
 void componentAdded(Model model, Component component)
           
 void componentRemoved(Model model, Component component)
           
 java.util.List getConfigurationPanels()
           
 ConnectorRecord getConnectorRecord(java.lang.String recordName)
           
 java.util.List getConnectorRecords()
           
 java.util.List getConnectorRecords(int type)
           
 RenderedModel getDialogModel()
           
 org.eclipse.swt.graphics.Image getIcon()
           
 void getOutgoingVariables(java.lang.String exitPoint, java.util.Map variables, java.util.Map visited)
           
 java.lang.String getTypeid()
           
 java.lang.String getTypeName()
           
 boolean hasConnectors()
           
 void readConfiguration(org.w3c.dom.Element configuration)
           
 void setDialogModel(RenderedModel dialogModel)
           
 void setTypeId(java.lang.String typeId)
           
 void writeConfiguration(org.w3c.dom.Element configuration)
           
 
Methods inherited from class org.eclipse.vtp.desktop.model.core.Element
addConfigurationManager, addIncomingConnector, commitConfigurationChanges, getConfigurationManager, getIncomingConnectors, getIncomingVariables, getIncomingVariables, getName, getOutgoingVariables, hasErrors, hasPathToStart, hasTodo, hasWarnings, listConfigurationManagers, removeIncomingConnector, resolve, rollbackConfigurationChanges, setName, setScope, validateStatus
 
Methods inherited from class org.eclipse.vtp.desktop.model.core.Component
addListener, addPropertyListener, delete, fireChange, fireDelete, firePropertyChange, getId, getModel, removeListener, removePropertyListener, setId, setModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DialogElement

public DialogElement(java.lang.String name)

DialogElement

public DialogElement(java.lang.String id,
                     java.lang.String name)
Method Detail

setTypeId

public void setTypeId(java.lang.String typeId)

getTypeid

public java.lang.String getTypeid()

setDialogModel

public void setDialogModel(RenderedModel dialogModel)

getDialogModel

public RenderedModel getDialogModel()

getConnectorRecord

public ConnectorRecord getConnectorRecord(java.lang.String recordName)
Specified by:
getConnectorRecord in class Element

getConnectorRecords

public java.util.List getConnectorRecords()
Specified by:
getConnectorRecords in class Element

getConnectorRecords

public java.util.List getConnectorRecords(int type)
Specified by:
getConnectorRecords in class Element

readConfiguration

public void readConfiguration(org.w3c.dom.Element configuration)
Specified by:
readConfiguration in class Element

writeConfiguration

public void writeConfiguration(org.w3c.dom.Element configuration)
Specified by:
writeConfiguration in class Element

acceptConnector

public boolean acceptConnector(Element origin)
Specified by:
acceptConnector in class Element

getConfigurationPanels

public java.util.List getConfigurationPanels()
Specified by:
getConfigurationPanels in class Element

getTypeName

public java.lang.String getTypeName()
Specified by:
getTypeName in class Element

getIcon

public org.eclipse.swt.graphics.Image getIcon()
Specified by:
getIcon in class Element

hasConnectors

public boolean hasConnectors()
Specified by:
hasConnectors in class Element

componentAdded

public void componentAdded(Model model,
                           Component component)
Specified by:
componentAdded in interface ModelListener

componentRemoved

public void componentRemoved(Model model,
                             Component component)
Specified by:
componentRemoved in interface ModelListener

getOutgoingVariables

public void getOutgoingVariables(java.lang.String exitPoint,
                                 java.util.Map variables,
                                 java.util.Map visited)
Overrides:
getOutgoingVariables in class Element